
angular.module('mamApp').factory('ImageManager', ['$http','api','paramsManager', function ($http,api,paramsManager) {
    var ImageManager = {

        /**
         *  上传图片
         * @returns result
         */
        imageUpload:function (params) {
            return $http.post(api+'/cp/image',params).then(function (result) {
                return result;
            });
        }





    };

    return ImageManager;
}]);
